<template>
  <div class="section" :class="{'active':isActive}" :data-anchor="anchor"><slot></slot></div>
</template>
<script>
    export default {
        data(){
            return {
                message: 'hello'
            }
        },
        props:['anchor','active'],
        computed:{
            isActive(){
                if(this.active!==undefined)
                    return true
                return false
            }
        }
    }
</script>
<style scoped>
</style>
